<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
class sysModel extends db_help
{
    public function __construct() {
        parent::__construct();
    }
    public static function load(){
        return new self();
    }
    /**
     * 
     * @param type $sql
     * @return type
     */
    public function query_sql($sql) {
        mylog($sql, 'sss');
        return $this->query($sql);
    }
    /**
     * 
     * @return type
     */
    public function error(){
        return $this->error_info;
    }
    public function get_all($sql) {
        return $this->result_array($sql);
    }
}
